const Direction = {
  UP: 0,
  DOWN: 1,
  LEFT: 2,
  RIGHT: 3,
  stringify: function(direction) {
    switch (direction) {
      case Direction.UP:
      return '^';
      case Direction.DOWN:
      return 'v';
      case Direction.LEFT:
      return '<';
      case Direction.RIGHT:
      return '>';
    }
  },
};

module.exports = Direction;
